<?php

	$page = false;
	if (isset($_GET['page'])) $page = $_GET['page']; else $page = "home";
	
	if ($page) {
		if (!file_exists("pages/" . $page . ".php")) $page = "home";
		require_once ("pages/" . $page . ".php");
	}

?>